package pl.easyshop.core.services.category;

import java.util.List;

/**
 * Product category manage service.
 * 
 * @author Pawel Witkowski
 */
public interface CategoryService {

	CategoryData getCategory(Long categoryId);
	Long createCategory(CategoryData category);
	void updateCategory(CategoryData category);
	void removeCategory(Long categoryId);
	List<CategoryData> getMainCategories();
	List<CategoryData> getSubCategories(Long parentCategoryId);
	
}
